From: Florian Müllner Date: Thu, 13 Jul 2023 16:50:30 +0000 (+0200) Subject: status/keyboard: Explicitly initialize ornament X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~1^2~79 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2f8a2c3166fb890ebe19982afa68abfaa0866deb;p=gnome-shell.git status/keyboard: Explicitly initialize ornament Layout items use the ornament to indicate the active layout, so their ornament should always be NONE or DOT. The default is about to change to HIDDEN, so explicitly initialize the ornament to NONE to keep the current radio item appearance. Part-of: --- diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index bbdf22597..b222574d2 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -28,6 +28,8 @@ class LayoutMenuItem extends PopupMenu.PopupBaseMenuItem { _init(displayName, shortName) { super._init(); + this.setOrnament(PopupMenu.Ornament.NONE); + this.label = new St.Label({ text: displayName, x_expand: true,